package com.white.service.imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.white.bean.Classify;
import com.white.mapper.ClassifyMapper;
import com.white.service.ClassifyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassifyServiceImpl extends ServiceImpl<ClassifyMapper, Classify> implements ClassifyService {
    @Autowired
    ClassifyMapper classifyMapper;
    @Override
    public List<Classify> search(String content) {
        return classifyMapper.search(content);
    }
}
